<?php get_header(); ?>
<section>
    <div class="container">
    <div class="row">
    <div class="col-md-9 panel-default panel">
        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
            <div class="media">
                <a class="pull-left" href="<?php the_permalink(); ?>">
                    <div class="size-image">
                        <?php
                        if ( has_post_thumbnail() ) {
                            the_post_thumbnail();
                        }
                        else
                        ?>
                        <img class="media-object" src="<?php echo get_template_directory_uri();?>/images/nothum.jpg" alt="...">
                    </div>
                </a>
                <div class="media-body">
                    <h4 class="media-heading"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
                    <p><?php the_content(); ?></p>
                    <p><a class="btn btn-default" href="<?php the_permalink(); ?>" role="button">View details »</a></p>
                </div>
            </div>

        <?php endwhile; endif; ?>
    </div>
<?php get_sidebar(); ?>

<?php get_footer(); ?>